A former California Highway Patrol officer was killed Monday night in a shootout with San Bernardino County Sheriff's deputies.